package org.szy.plugin.sys.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import org.szy.core.common.entity.BaseEntity;
import org.szy.core.common.listener.BaseInsertListener;
import org.szy.core.common.listener.BaseUpdateListener;

/**
 * 系统应用实体
 *
 * @author wangbuhao
 * @since 2023-06-21 17:04:20
 **/
@Table(value = "sys_app", onInsert = BaseInsertListener.class, onUpdate = BaseUpdateListener.class)
public class SysApp extends BaseEntity {

    /** 应用Id */
    /** 应用名称 */
    private String name;
    /** 应用编码 */
    private String code;
    /** 是否默认激活（1-是，0-否） */
    private Integer active;
    /** 状态（1-启用，2-停用） */
    private Integer status;
    /** 是否删除 */
    @Column(isLogicDelete = true)
    private Integer delFlag;

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public Integer getActive() {
        return active;
    }
    public void setActive(Integer active) {
        this.active = active;
    }
    public Integer getStatus() {
        return status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getDelFlag() {
        return delFlag;
    }
    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

}
